package bing.web.common;

import java.io.Serializable;

public class RequestResult implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private String resultType;
	private String reason;

	private RequestResult(String resultType, String reason) {
		this.resultType = resultType;
		this.reason = reason;
	}

	public String getResultType() {
		return resultType;
	}

	public String getReason() {
		return reason;
	}

	public static RequestResult generateResult(String resultType, String reason) {
		return new RequestResult(resultType, reason);
	}
}
